package com.atguigu.mybatisplus.mapper;

import com.atguigu.mybatisplus.model.entity.User;
import com.atguigu.mybatisplus.model.vo.UserPageVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 用户分页列表
     * @param page
     * @return
     */
    @Select("select * from sys_user")
    IPage<UserPageVo> selectUserPage(IPage<UserPageVo> page);
}
